import fetch from 'common/src/utils/fetch';

const pageUrl =
    '/api/electionservice/graduateExamMakeUpQuery/listExamMakeUpQuery';

/**
 *导出
 */
function exportData(data) {
    return fetch({
        url: '/api/electionservice/graduateExamMakeUpQuery/export',
        method: 'post',
        data: data,
        showMask: false
    });
}

/**
 * 获取key
 */
function exportStatus(key) {
    return fetch({
        url: '/api/electionservice/reportManagement/result/' + key,
        method: 'get'
    });
}

export default {
    pageUrl: pageUrl,
    exportData: exportData,
    exportStatus: exportStatus
};
